#!/bin/sh
# 
# Test the website by mirroring and grepping the logs
#
cd $COUNTER_ROOT/temp || exit 1
echo "Starting mirror"
wget --recursive --page-requisites -nv --output-file=mirror.log http://$COUNTER_HOST/
grep -v " -> " mirror.log
